package cc.wenshixin.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * 管理员实体类
 * @author 魏志文
 * @param id 联系人的序号
 * @param name 联系人的姓名
 * @param password 联系人的密码
 * @param address 联系人的地址
 * @param setVisit 用户拜访记录
 */
public class AdminUser {
	private Integer id;
	private String name;
	private String password;
	private String address;
	private Set<Visit> setVisit = new HashSet<Visit>();
	
	public Set<Visit> getSetVisit() {
		return setVisit;
	}
	public void setSetVisit(Set<Visit> setVisit) {
		this.setVisit = setVisit;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
}
